package cn.ocean.org.service;

import cn.ocean.basic.utils.PageList;
import cn.ocean.org.domain.Department;
import cn.ocean.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService {

    // 查询所有
    List<Department> loadAllDep();
    // 根据Id查询
    Department getByIdDep(Long id);
    // 根据id删除
    void delDep(Long id);
    // 根据id修改
    void updateDep(Department department);
    // 新增
    void addDep(Department department);
    // 分页加高级查询
    PageList<Department> queryData(DepartmentQuery departmentQuery);

}
